import { DB } from "@/lib/db";
import { db } from "../seed";
import { importProduct, Supermarket } from "../importProducts";

export async function seed(db: DB) {
  console.log("start seeding products");
  const wwsData = [
    {
      PAGE_LINK:
        "https://www.woolworths.com.au/shop/productdetails/594774/avocado-fresh",
      Product: {
        TileID: 0,
        Stockcode: 594774,
        Barcode: "9300633645236",
        GtinFormat: 13,
        CupPrice: 1.5,
        InstoreCupPrice: 1.5,
        CupMeasure: "1EA",
        CupString: "$1.50 / 1EA",
        InstoreCupString: "$1.50 / 1EA",
        HasCupPrice: true,
        InstoreHasCupPrice: true,
        Price: 7.5,
        InstorePrice: 7.5,
        Name: "Avocado Fresh",
        DisplayName: "Avocado Fresh 5 Pack",
        UrlFriendlyName: "avocado-fresh",
        Description: " Avocado Avocado Fresh  5 Pack",
        SmallImageFile:
          "https://cdn0.woolworths.media/content/wowproductimages/small/594774.jpg",
        MediumImageFile:
          "https://cdn0.woolworths.media/content/wowproductimages/medium/594774.jpg",
        LargeImageFile:
          "https://cdn0.woolworths.media/content/wowproductimages/large/594774.jpg",
        IsNew: false,
        IsHalfPrice: false,
        IsOnlineOnly: false,
        IsOnSpecial: false,
        InstoreIsOnSpecial: false,
        IsEdrSpecial: false,
        SavingsAmount: 0.0,
        InstoreSavingsAmount: 0.0,
        WasPrice: 7.5,
        InstoreWasPrice: 7.5,
        QuantityInTrolley: 0,
        Unit: "Each",
        MinimumQuantity: 1,
        HasBeenBoughtBefore: false,
        IsInTrolley: false,
        Source: "ProductDetail",
        SupplyLimit: 20,
        ProductLimit: 36,
        MaxSupplyLimitMessage: "20 item(s) left",
        IsRanged: true,
        IsInStock: true,
        PackageSize: "5 Pack",
        IsPmDelivery: false,
        IsForCollection: true,
        IsForDelivery: true,
        IsForExpress: true,
        ProductRestrictionMessage: null,
        ProductWarningMessage: null,
        CentreTag: {
          TagContent: null,
          TagLink: null,
          FallbackText: null,
          TagType: "None",
          MultibuyData: null,
          MemberPriceData: null,
          TagContentText: null,
          DualImageTagContent: null,
          PromotionType: "NOT_SET",
          IsRegisteredRewardCardPromotion: false,
        },
        IsCentreTag: false,
        ImageTag: {
          TagContent:
            "/content/promotiontags/australian-grown-roundel-200x200.png",
          TagLink: null,
          FallbackText: "Australian Grown",
          TagType: "None",
          MultibuyData: null,
          MemberPriceData: null,
          TagContentText: null,
          DualImageTagContent: null,
          PromotionType: "NOT_SET",
          IsRegisteredRewardCardPromotion: false,
        },
        HeaderTag: null,
        HasHeaderTag: false,
        UnitWeightInGrams: 734,
        SupplyLimitMessage:
          "'Avocado Fresh' has a supply limit of 20. The quantity in your cart has been reduced accordingly. To purchase a larger quantity, please contact us on 1800 000 610. Please note we do not supply trade orders.",
        SmallFormatDescription: "Avocado Avocado Fresh ",
        FullDescription: "Avocado Avocado Fresh ",
        IsAvailable: true,
        InstoreIsAvailable: true,
        IsPurchasable: true,
        InstoreIsPurchasable: true,
        AgeRestricted: false,
        DisplayQuantity: 1,
        RichDescription:
          "<div>The perfect single serve avocado. Ripen at home in the cupboard and transfer to the fridge once they soften slightly to have avos ready to go for every occasion.<br><br><strong>How to Pick:</strong><br>Hass avocados change colour as they ripen from green to purple-black.<br><br>Do not squeeze or this will bruise the flesh.<br>Look for avocados that are evenly shaped and have no dents or cuts.<br><br>Hard = ready to eat in 2-3 days      <br>Firm = ready to eat in 1-2 days     <br>Soft = ripe and ready to eat<br><br><strong>How to Store:</strong><br>Store unripe avocados at room temperature until they ripen. Ripe avocados can be kept for one or two days at room temperature, or two to three days in the fridge. <br>Sliced avocados go brown quickly and should be refrigerated in cling film or an airtight container. <br><br>Handy tip: To speed up ripening you can place avocados in a brown paper bag with an apple or banana. These fruits contain a natural hormone that causes avocados to ripen faster.<br><br><strong>Where it's Grown:</strong><br>Avocados grow in clusters on evergreen trees. They are grown in QLD, NSW,VIC, SA and WA. Hass avocados are usually available May to February while Shepard avocados are only available from February to May.<br><br></div><div><strong>Health Benefits:</strong><br>Avocados contain healthy monounsaturated fats, and dietary fibre for a healthy gut*<br><br>*Based on 50g serve, as part of a healthy balanced diet</div>",
        HideWasSavedPrice: false,
        SapCategories: {
          SapDepartmentName: "FRUIT AND VEG",
          SapCategoryName: "FRUIT",
          SapSubCategoryName: "AVOCADOS",
          SapSegmentName: "AVOCADOS P/P",
        },
        Brand: "Avocado",
        IsRestrictedByDeliveryMethod: false,
        FooterTag: {
          TagContent: null,
          TagLink: null,
          FallbackText: null,
          TagType: "None",
          MultibuyData: null,
          MemberPriceData: null,
          TagContentText: null,
          DualImageTagContent: null,
          PromotionType: "NOT_SET",
          IsRegisteredRewardCardPromotion: false,
        },
        IsFooterEnabled: false,
        Diagnostics: "0",
        IsBundle: false,
        IsInFamily: false,
        ChildProducts: [],
        UrlOverride: null,
        AdditionalAttributes: {
          boxedcontents: null,
          addedvitaminsandminerals: "False",
          sapdepartmentname: "FRUIT AND VEG",
          spf: null,
          haircolour: null,
          lifestyleanddietarystatement: "Low Salt,Low Sugar",
          sapcategoryname: "FRUIT",
          skintype: null,
          importantinformation: null,
          allergystatement: null,
          productdepthmm: null,
          skincondition: null,
          ophthalmologistapproved: null,
          healthstarrating: "5",
          hairtype: null,
          "fragrance-free": null,
          sapsegmentname: "AVOCADOS P/P",
          suitablefor: null,
          PiesProductDepartmentsjson:
            '[{"Id":"1_9E92C35","Description":"Lunch Box"},{"Id":"1-E5BEE36E","Description":"Fruit & Veg"}]',
          piessubcategorynamesjson:
            '["Salad & Veg","Avocados","Salad Vegetables"]',
          sapsegmentno: "2",
          productwidthmm: null,
          contains: null,
          sapsubcategoryname: "AVOCADOS",
          dermatologisttested: null,
          wool_productpackaging: null,
          dermatologicallyapproved: null,
          specialsgroupid: null,
          productimages: "594774.jpg",
          productheightmm: null,
          "r&r_hidereviews": null,
          microwavesafe: "False",
          "paba-free": null,
          lifestyleclaim: null,
          alcoholfree: null,
          tgawarning: null,
          activeconstituents: null,
          microwaveable: "False",
          "soap-free": null,
          countryoforigin: null,
          isexcludedfromsubstitution: "False",
          productimagecount: "1",
          "r&r_loggedinreviews": null,
          "anti-dandruff": null,
          "servingsize-total-nip": null,
          tgahealthwarninglink: null,
          allergenmaybepresent: null,
          PiesProductDepartmentNodeId: "1_9E92C35",
          parabenfree: "False",
          vendorarticleid: null,
          containsgluten: "False",
          containsnuts: "False",
          ingredients: null,
          colour: null,
          manufacturer: null,
          sapcategoryno: "69",
          storageinstructions: "Store at room temperature until ripe.",
          tgawarnings: null,
          piesdepartmentnamesjson: '["Lunch Box","Fruit & Veg"]',
          brand: null,
          oilfree: null,
          fragrance: null,
          antibacterial: "False",
          "non-comedogenic": null,
          antiseptic: "False",
          bpafree: "False",
          vendorcostprice: null,
          description:
            "<div>The perfect single serve avocado. Ripen at home in the cupboard and transfer to the fridge once they soften slightly to have avos ready to go for every occasion.<br><br><strong>How to Pick:</strong><br>Hass avocados change colour as they ripen from green to purple-black.<br><br>Do not squeeze or this will bruise the flesh.<br>Look for avocados that are evenly shaped and have no dents or cuts.<br><br>Hard = ready to eat in 2-3 days      <br>Firm = ready to eat in 1-2 days     <br>Soft = ripe and ready to eat<br><br><strong>How to Store:</strong><br>Store unripe avocados at room temperature until they ripen. Ripe avocados can be kept for one or two days at room temperature, or two to three days in the fridge. <br>Sliced avocados go brown quickly and should be refrigerated in cling film or an airtight container. <br><br>Handy tip: To speed up ripening you can place avocados in a brown paper bag with an apple or banana. These fruits contain a natural hormone that causes avocados to ripen faster.<br><br><strong>Where it's Grown:</strong><br>Avocados grow in clusters on evergreen trees. They are grown in QLD, NSW,VIC, SA and WA. Hass avocados are usually available May to February while Shepard avocados are only available from February to May.<br><br></div><div><strong>Health Benefits:</strong><br>Avocados contain healthy monounsaturated fats, and dietary fibre for a healthy gut*<br><br>*Based on 50g serve, as part of a healthy balanced diet</div>",
          sweatresistant: null,
          sapsubcategoryno: "728",
          antioxidant: "False",
          claims: null,
          phbalanced: null,
          wool_dietaryclaim: null,
          ophthalmologisttested: null,
          sulfatefree: "False",
          piescategorynamesjson: '["Salad","Fruit & Veg","Vegetables"]',
          "servingsperpack-total-nip": null,
          nutritionalinformation:
            '{"Name":"Nutritional Information","Attributes":[{"Id":702,"Name":"Calcium Quantity Per 100g - Total - NIP","Value":"13mg","Description":"Calcium Quantity Per 100g - Total - NIP","SortOrder":71},{"Id":705,"Name":"Carbohydrate Quantity Per 100g - Total - NIP","Value":"0.4g","Description":"Carbohydrate Quantity Per 100g - Total - NIP","SortOrder":83},{"Id":191,"Name":"Dietary Fibre Quantity Per 100g - Total - NIP","Value":"3g","Description":"Dietary Fibre Quantity Per 100g - Total - NIP","SortOrder":175},{"Id":759,"Name":"Energy kJ Quantity Per 100g - Total - NIP","Value":"867kJ","Description":"Energy kJ Quantity Per 100g - Total - NIP","SortOrder":239},{"Id":253,"Name":"Fat Saturated Quantity Per 100g - Total - NIP","Value":"4.86g","Description":"Fat Saturated Quantity Per 100g - Total - NIP","SortOrder":251},{"Id":764,"Name":"Fat Total Quantity Per 100g - Total - NIP","Value":"21.6g","Description":"Fat Total Quantity Per 100g - Total - NIP","SortOrder":263},{"Id":166,"Name":"Fat Total Quantity Per 100g - ValueWord - NIP","Value":"21.6","Description":"Fat Total Quantity Per 100g - ValueWord - NIP","SortOrder":264},{"Id":402,"Name":"Monounsaturated Quantity Per 100g - Total - NIP","Value":"12.94g","Description":"Monounsaturated Quantity Per 100g - Total - NIP","SortOrder":479},{"Id":434,"Name":"Polyunsaturated Quantity Per 100g - Total - NIP","Value":"2.86g","Description":"Polyunsaturated Quantity Per 100g - Total - NIP","SortOrder":563},{"Id":443,"Name":"Potassium Quantity Per 100g - Total - NIP","Value":"472mg","Description":"Potassium Quantity Per 100g - Total - NIP","SortOrder":575},{"Id":878,"Name":"Protein Quantity Per 100g - Total - NIP","Value":"1.8g","Description":"Protein Quantity Per 100g - Total - NIP","SortOrder":587},{"Id":491,"Name":"Sodium Quantity Per 100g - Total - NIP","Value":"4mg","Description":"Sodium Quantity Per 100g - Total - NIP","SortOrder":623},{"Id":908,"Name":"Sugars Quantity Per 100g - SuffixUnits - NIP","Value":"g","Description":"Sugars Quantity Per 100g - SuffixUnits - NIP","SortOrder":646},{"Id":909,"Name":"Sugars Quantity Per 100g - Total - NIP","Value":"0.4g","Description":"Sugars Quantity Per 100g - Total - NIP","SortOrder":647},{"Id":910,"Name":"Sugars Quantity Per 100g - ValueWord - NIP","Value":"0.4","Description":"Sugars Quantity Per 100g - ValueWord - NIP","SortOrder":648}]}',
          ovencook: "False",
          vegetarian: "False",
          "hypo-allergenic": null,
          timer: null,
          dermatologistrecommended: null,
          sapdepartmentno: "30",
          allergencontains: null,
          waterresistant: null,
          friendlydisclaimer: null,
          recyclableinformation: null,
          usageinstructions: null,
          freezable: "False",
        },
        DetailsImagePaths: [
          "https://cdn0.woolworths.media/content/wowproductimages/large/594774.jpg",
        ],
        Variety: null,
        Rating: {
          ReviewCount: 0,
          RatingCount: 0,
          RatingSum: 0,
          OneStarCount: 0,
          TwoStarCount: 0,
          ThreeStarCount: 0,
          FourStarCount: 0,
          FiveStarCount: 0,
          Average: 0,
          OneStarPercentage: 0,
          TwoStarPercentage: 0,
          ThreeStarPercentage: 0,
          FourStarPercentage: 0,
          FiveStarPercentage: 0,
        },
        HasProductSubs: false,
        IsSponsoredAd: false,
        AdID: null,
        AdIndex: null,
        AdStatus: null,
        IsMarketProduct: false,
        IsGiftable: false,
        Vendor: null,
        Untraceable: false,
        ThirdPartyProductInfo: null,
        MarketFeatures: null,
        MarketSpecifications: null,
        SupplyLimitSource: "StockQuantity",
        Tags: [
          {
            Content: {
              Type: "Roundel",
              Position: "Top",
              Attributes: {
                ImagePath:
                  "/content/promotiontags/australian-grown-roundel-200x200.png",
                FallbackText: "Australian Grown",
              },
            },
            TemplateId: null,
            Metadata: null,
          },
        ],
        IsPersonalisedByPurchaseHistory: false,
        IsFromFacetedSearch: false,
        NextAvailabilityDate: "2024-09-06T00:00:00.0000000Z",
        NumberOfSubstitutes: 0,
        IsPrimaryVariant: false,
        VariantGroupId: 0,
        HasVariants: false,
        VariantTitle: null,
        IsTobacco: false,
        IsB2BExtendedRangeSapCategory: false,
      },
      Nutrition: null,
      VideoUrl: null,
      PrimaryCategory: {
        Department: "fruit & vegetables",
        Aisle: "fresh fruit",
        VisualShoppingAisleId: 18,
        DisplayOrder: 0,
        OverrideName: null,
        Instance: "Alpha",
      },
      AdditionalAttributes: {
        boxedcontents: null,
        addedvitaminsandminerals: "False",
        sapdepartmentname: "FRUIT AND VEG",
        spf: null,
        haircolour: null,
        lifestyleanddietarystatement: "Low Salt,Low Sugar",
        sapcategoryname: "FRUIT",
        skintype: null,
        importantinformation: null,
        allergystatement: null,
        productdepthmm: null,
        skincondition: null,
        ophthalmologistapproved: null,
        healthstarrating: "5",
        hairtype: null,
        "fragrance-free": null,
        sapsegmentname: "AVOCADOS P/P",
        suitablefor: null,
        PiesProductDepartmentsjson:
          '[{"Id":"1_9E92C35","Description":"Lunch Box"},{"Id":"1-E5BEE36E","Description":"Fruit & Veg"}]',
        piessubcategorynamesjson:
          '["Salad & Veg","Avocados","Salad Vegetables"]',
        sapsegmentno: "2",
        productwidthmm: null,
        contains: null,
        sapsubcategoryname: "AVOCADOS",
        dermatologisttested: null,
        wool_productpackaging: null,
        dermatologicallyapproved: null,
        specialsgroupid: null,
        productimages: "594774.jpg",
        productheightmm: null,
        "r&r_hidereviews": null,
        microwavesafe: "False",
        "paba-free": null,
        lifestyleclaim: null,
        alcoholfree: null,
        tgawarning: null,
        activeconstituents: null,
        microwaveable: "False",
        "soap-free": null,
        countryoforigin: null,
        isexcludedfromsubstitution: "False",
        productimagecount: "1",
        "r&r_loggedinreviews": null,
        "anti-dandruff": null,
        "servingsize-total-nip": null,
        tgahealthwarninglink: null,
        allergenmaybepresent: null,
        PiesProductDepartmentNodeId: "1_9E92C35",
        parabenfree: "False",
        vendorarticleid: null,
        containsgluten: "False",
        containsnuts: "False",
        ingredients: null,
        colour: null,
        manufacturer: null,
        sapcategoryno: "69",
        storageinstructions: "Store at room temperature until ripe.",
        tgawarnings: null,
        piesdepartmentnamesjson: '["Lunch Box","Fruit & Veg"]',
        brand: null,
        oilfree: null,
        fragrance: null,
        antibacterial: "False",
        "non-comedogenic": null,
        antiseptic: "False",
        bpafree: "False",
        vendorcostprice: null,
        description:
          "<div>The perfect single serve avocado. Ripen at home in the cupboard and transfer to the fridge once they soften slightly to have avos ready to go for every occasion.<br><br><strong>How to Pick:</strong><br>Hass avocados change colour as they ripen from green to purple-black.<br><br>Do not squeeze or this will bruise the flesh.<br>Look for avocados that are evenly shaped and have no dents or cuts.<br><br>Hard = ready to eat in 2-3 days      <br>Firm = ready to eat in 1-2 days     <br>Soft = ripe and ready to eat<br><br><strong>How to Store:</strong><br>Store unripe avocados at room temperature until they ripen. Ripe avocados can be kept for one or two days at room temperature, or two to three days in the fridge. <br>Sliced avocados go brown quickly and should be refrigerated in cling film or an airtight container. <br><br>Handy tip: To speed up ripening you can place avocados in a brown paper bag with an apple or banana. These fruits contain a natural hormone that causes avocados to ripen faster.<br><br><strong>Where it's Grown:</strong><br>Avocados grow in clusters on evergreen trees. They are grown in QLD, NSW,VIC, SA and WA. Hass avocados are usually available May to February while Shepard avocados are only available from February to May.<br><br></div><div><strong>Health Benefits:</strong><br>Avocados contain healthy monounsaturated fats, and dietary fibre for a healthy gut*<br><br>*Based on 50g serve, as part of a healthy balanced diet</div>",
        sweatresistant: null,
        sapsubcategoryno: "728",
        antioxidant: "False",
        claims: null,
        phbalanced: null,
        wool_dietaryclaim: null,
        ophthalmologisttested: null,
        sulfatefree: "False",
        piescategorynamesjson: '["Salad","Fruit & Veg","Vegetables"]',
        "servingsperpack-total-nip": null,
        nutritionalinformation:
          '{"Name":"Nutritional Information","Attributes":[{"Id":702,"Name":"Calcium Quantity Per 100g - Total - NIP","Value":"13mg","Description":"Calcium Quantity Per 100g - Total - NIP","SortOrder":71},{"Id":705,"Name":"Carbohydrate Quantity Per 100g - Total - NIP","Value":"0.4g","Description":"Carbohydrate Quantity Per 100g - Total - NIP","SortOrder":83},{"Id":191,"Name":"Dietary Fibre Quantity Per 100g - Total - NIP","Value":"3g","Description":"Dietary Fibre Quantity Per 100g - Total - NIP","SortOrder":175},{"Id":759,"Name":"Energy kJ Quantity Per 100g - Total - NIP","Value":"867kJ","Description":"Energy kJ Quantity Per 100g - Total - NIP","SortOrder":239},{"Id":253,"Name":"Fat Saturated Quantity Per 100g - Total - NIP","Value":"4.86g","Description":"Fat Saturated Quantity Per 100g - Total - NIP","SortOrder":251},{"Id":764,"Name":"Fat Total Quantity Per 100g - Total - NIP","Value":"21.6g","Description":"Fat Total Quantity Per 100g - Total - NIP","SortOrder":263},{"Id":166,"Name":"Fat Total Quantity Per 100g - ValueWord - NIP","Value":"21.6","Description":"Fat Total Quantity Per 100g - ValueWord - NIP","SortOrder":264},{"Id":402,"Name":"Monounsaturated Quantity Per 100g - Total - NIP","Value":"12.94g","Description":"Monounsaturated Quantity Per 100g - Total - NIP","SortOrder":479},{"Id":434,"Name":"Polyunsaturated Quantity Per 100g - Total - NIP","Value":"2.86g","Description":"Polyunsaturated Quantity Per 100g - Total - NIP","SortOrder":563},{"Id":443,"Name":"Potassium Quantity Per 100g - Total - NIP","Value":"472mg","Description":"Potassium Quantity Per 100g - Total - NIP","SortOrder":575},{"Id":878,"Name":"Protein Quantity Per 100g - Total - NIP","Value":"1.8g","Description":"Protein Quantity Per 100g - Total - NIP","SortOrder":587},{"Id":491,"Name":"Sodium Quantity Per 100g - Total - NIP","Value":"4mg","Description":"Sodium Quantity Per 100g - Total - NIP","SortOrder":623},{"Id":908,"Name":"Sugars Quantity Per 100g - SuffixUnits - NIP","Value":"g","Description":"Sugars Quantity Per 100g - SuffixUnits - NIP","SortOrder":646},{"Id":909,"Name":"Sugars Quantity Per 100g - Total - NIP","Value":"0.4g","Description":"Sugars Quantity Per 100g - Total - NIP","SortOrder":647},{"Id":910,"Name":"Sugars Quantity Per 100g - ValueWord - NIP","Value":"0.4","Description":"Sugars Quantity Per 100g - ValueWord - NIP","SortOrder":648}]}',
        ovencook: "False",
        vegetarian: "False",
        "hypo-allergenic": null,
        timer: null,
        dermatologistrecommended: null,
        sapdepartmentno: "30",
        allergencontains: null,
        waterresistant: null,
        friendlydisclaimer: null,
        recyclableinformation: null,
        usageinstructions: null,
        freezable: "False",
      },
      TgaAttributes: {
        Directions: null,
        ProductWarnings: null,
        SuitableFor: null,
        StorageInstructions: "Store at room temperature until ripe.",
      },
      DetailsImagePaths: [
        "https://cdn0.woolworths.media/content/wowproductimages/large/594774.jpg",
      ],
      NutritionalInformation: [
        {
          Name: "Energy",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "867kJ",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "Protein",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "1.8g",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "Fat, Total",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "21.6g",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "– Saturated",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "4.86g",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "Carbohydrate",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "0.4g",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "– Sugars",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "0.4g",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "Dietary Fibre",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "3g",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
        {
          Name: "Sodium",
          Values: {
            "Quantity Per Serving": "-",
            "Quantity Per 100g / 100mL": "4mg",
          },
          ServingSize: null,
          ServingsPerPack: null,
        },
      ],
      RichRelevancePlacements: [
        {
          placement_name: null,
          message: null,
          Products: [],
          Items: [],
          StockcodesForDiscover: [],
        },
      ],
      Variants: [],
      VariantOptionGroups: [],
      IsTobacco: false,
      CountryOfOriginLabel: {
        PngImageFile:
          "https://cdn0.woolworths.media/content/countryoforiginlabelling/b30db8e7-2a70-43c8-8115-b2d6e0805210.png",
        SvgImageFile:
          "https://cdn0.woolworths.media/content/countryoforiginlabelling/b30db8e7-2a70-43c8-8115-b2d6e0805210.svg",
        AltText: "Grown in Australia",
        CountryOfOrigin: "Australia",
        IngredientPercentage: "100",
        Disclaimer: null,
      },
      DiagnosticsData: null,
    },
  ];
  const colesData = [
    {
      PAGE_LINK:
        "https://www.coles.com.au/product/yo-chi-frozen-natural-yoghurt-500ml-5792915?pid=homepage_featurerow_new-trending",
      id: 5792915,
      name: "Frozen Natural Yoghurt",
      brand: "Yo Chi",
      description: "YO CHI FROZEN NATURAL YOGHURT 500ML",
      size: "500mL",
      imageUris: [{ altText: "", type: "default", uri: "/5/5792915.jpg" }],
      minGuarantee: null,
      merchandiseHeir: {
        tradeProfitCentre: "DAIRY",
        categoryGroup: "DAIRY",
        category: "ICE CREAM",
        subCategory: "BETTER FOR YOU TUBS",
        className: "YOGHURT",
      },
      onlineHeirs: [
        {
          aisle: "Frozen yoghurt",
          category: "Ice cream",
          subCategory: "Frozen",
          categoryId: "85614",
          aisleId: "85636",
          subCategoryId: "85471",
        },
        {
          aisle: "Ice cream tubs",
          category: "Ice cream",
          subCategory: "Frozen",
          categoryId: "85614",
          aisleId: "85639",
          subCategoryId: "85471",
        },
      ],
      associatedProductId: null,
      continuity: null,
      lifestyle: null,
      lastUpdated: "2024-09-15T11:04:08Z",
      locations: [
        {
          aisleSide: "",
          description:
            "Aisle information is not available for this product. Please ask a Team Member at $STORE to help you find this product.",
          facing: 0,
          aisle: "",
          order: 9999,
          shelf: null,
        },
      ],
      additionalInfo: [
        {
          title: "Ingredients",
          description:
            "Greek Natural Frozen Yoghurt (48%), (Reconstituted Milk, Milk Solids, Yoghurt Cultures), Milk, Invert Syrup (Sugar, Water), Raw Sugar, Maltodextrin (Maize), Milk Solids, Glucose (Maize), Yoghurt Powder (2%), (Contains Milk Cultures), Cream (Milk), Vanilla Extract (0.5%), Emulsifier (471), Vegetable Gums (460, 466, 407a), Food Acid (330)",
        },
        {
          title: "Allergen",
          description:
            "May Be Present Hazelnuts, Macadamia Nuts, Pistachios, Tree Nuts, Egg, Sesame, Soy, Peanuts. Contains Milk",
        },
      ],
      excludeFromSubstitution: false,
      brandDetails: { id: 4117036834, name: "Yo Chi", seoToken: "yo-chi" },
      collectableCampaign: null,
      disclaimers: null,
      internalDescription: "",
      longDescription: "Yo-Chi Greek Style Frozen Yogurt - Natural flavour",
      nutrition: {
        title: "Nutritional information",
        servingsPerPackage: "5.0",
        servingSize: "56g",
        breakdown: [],
      },
      nutritionalClaims: ["Gluten free"],
      pricing: {
        now: 7.6,
        was: 9.5,
        saveAmount: 1.9,
        saveStatement: "save $1.90",
        unit: {
          quantity: 1,
          ofMeasureQuantity: 100,
          ofMeasureUnits: "mL",
          price: 1.52,
          ofMeasureType: "mL",
          isWeighted: false,
        },
        comparable: "$1.52 per 100ml",
        promotionType: "SPECIAL",
        onlineSpecial: false,
        multiBuyPromotion: null,
        priceDescription: null,
        savePercent: 0,
        specialType: null,
        offerDescription: null,
      },
      variations: null,
      images: [
        { thumb: [Object], zoom: [Object], full: [Object] },
        { thumb: [Object], zoom: [Object], full: [Object] },
      ],
      restrictions: {
        retailLimit: 20,
        promotionalLimit: 12,
        liquorAgeRestrictionFlag: false,
        tobaccoAgeRestrictionFlag: false,
        delivery: [],
        restrictedByOrganisation: false,
      },
      countryOfOrigin: {
        logoRequired: true,
        barcodeRequired: true,
        descriptionRequired: true,
        country: "Australia",
        barcodePercentage: 90,
        statement: "Made in Australia from at least 90% Australian ingredients",
        description:
          "Made in Australia from at least 90% Australian ingredients",
      },
      availability: true,
    },
  ];

  await importProduct(Supermarket.WWS, wwsData);
  await importProduct(Supermarket.Coles, colesData);
}
